from django.contrib import admin
from django.urls import include, path
from rest_framework.documentation import include_docs_urls

from django.conf import settings
from django.conf.urls.static import static

urlpatterns = [
    path('admin/', admin.site.urls),
    path('user/', include('User.urls')),
    path('work/', include('Work.urls')),
    # path('docs/', include_docs_urls(title="小程序API"))
] + static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)